func crypto/tls.unexpectedMessageError
21 uses
crypto/tls (current package)
common.go#L1656: func unexpectedMessageError(wanted, got any) error {
conn.go#L1266: return unexpectedMessageError(helloReq, msg)
handshake_client.go#L348: return unexpectedMessageError(serverHello, msg)
handshake_client.go#L665: return unexpectedMessageError(certMsg, msg)
handshake_client.go#L754: return unexpectedMessageError(shd, msg)
handshake_client.go#L985: return unexpectedMessageError(serverFinished, msg)
handshake_client.go#L1021: return unexpectedMessageError(sessionTicketMsg, msg)
handshake_client_tls13.go#L402: return unexpectedMessageError(serverHello, msg)
handshake_client_tls13.go#L556: return unexpectedMessageError(encryptedExtensions, msg)
handshake_client_tls13.go#L648: return unexpectedMessageError(certMsg, msg)
handshake_client_tls13.go#L673: return unexpectedMessageError(certVerify, msg)
handshake_client_tls13.go#L717: return unexpectedMessageError(finished, msg)
handshake_server.go#L145: return nil, nil, unexpectedMessageError(clientHello, msg)
handshake_server.go#L675: return unexpectedMessageError(certMsg, msg)
handshake_server.go#L703: return unexpectedMessageError(ckx, msg)
handshake_server.go#L741: return unexpectedMessageError(certVerify, msg)
handshake_server.go#L821: return unexpectedMessageError(clientFinished, msg)
handshake_server_tls13.go#L601: return nil, unexpectedMessageError(clientHello, msg)
handshake_server_tls13.go#L1061: return unexpectedMessageError(certMsg, msg)
handshake_server_tls13.go#L1087: return unexpectedMessageError(certVerify, msg)
handshake_server_tls13.go#L1136: return unexpectedMessageError(finished, msg)